convert from gem to sinatra app