set up routing and view from tutorials