Sets up middleman for heroku