Set up a Procfile and use env port value

For Heroku!