Convert templates to use MtHaml

Converting templates to use the MtHaml library through twig