adds basic templating system with twig