Updated code for deployment to heroku
Updated port to use environment variable
Updated http tracker to process on(data) which seems to be necessary to run on(end)