Modified run server for new command line arguments
Got the server to registar and connect to a master server node