Added a command line parameter to set the listening port