added TemplateLoader

loads templates from flat files based on keys