TplData renamed to Tpl, constructor with ITemplate added
TemplateFactory specs added
TemplateFactory implemented