Updated to use Sinatra and Thin in order to run on Heroku