remove unused routes and template