created TemplateEngine class
created TemplateEngine class