refactor api calls
Merge branch 'master' of https://github.com/sgarcese/RailsOptiRoute