app/controllers/routes_controller.rb
Adding the optmizing route logic
Commiting all the changes