adding templates models and collections