setup routes and templates