Configuration for Heroku.
Added logging.
Base controller.