made app into ruby with rack app to deploy on heroku