TemplateEngine class created