Changes routes.rb, fixed several hard codings of paths