added flag to server for defining port, defaults to 8000