* Import Twig templating engine

* Port indexui.php to Twig