add routes and views