move templates to dedup package