upgrade to ruby 2.0 and add new routes to api