move templates collection and model