Converting MOOSE to listen to a port instead of creating a web file