Added get port to main class to make heroku deploy