added TemplatesExtension [WIP]