Basic interactive commandline interactions added

whether node is the main server (default port) for ease of call or
generic p2p node