Move TemplateFactory to annotatecms/templating