setup basic routing and templates