making sinatra app capable of running on heroku