added routes and views