Quick changes to port stuff to allow setting the listen port via env var