Making the app heroku ready by using rack