Changed so that port number is set from the environment.  defaults to 3000 otherwise