started introducing twig engine to clean up code (version not running)