Refactor templating. Add minimal route. Add trailiing slash redirector.