Made it a rack app ready to deploy to heroku.