cleans up routes
adds code climate