cleaned the routes and reorganized the gemfile