InjectExtension & TemplateExtension [WIP]

I'm gonna send a pullrequest to your pullrequest :)