added DecoratorExtension
Merge pull request #11 from dg/pull-template

added TemplatesExtension [WIP]