Replace credentials.json with environemtn variables for deploying to heroku
Listen on $PORT if it's defined