Add TemplateManager to load templates.
Move templates into separate html files.
Cache templates on application init.
Use TemplateManager to render templates in views.