remove extraneous routes and views