Added routes and fixed gemfile