Heroku config, production, and controllers refactoring