cleanup routes and controllers