changed routes etc in order to load twig templates dynamically