Refactoring to use heroku port or local port