added routes and views.