Fix theme functions

* Moves theme functions to twig templates and preprocess hooks
* Adds twig templates
* Fixes help page not showing