Tidy up logging.
Add Procfile for Heroku.
Allow port to be set via an env variable.