Configured some templating, changed routes to use controllers.