migrate sinatra app to rails, make routes