override templating.engine.php.class with our own