added TemplatesManager