TemplateService initial commit.
TemplateService implementation and controller