Changed the way you can load a template engine