Converting to small ruby app with Sinatra