added/improved documentation
PersoSim: cmdSetHostName and cmdSetPortNo now restart the simulator,
cmdSetPortNo now calls correct setPort method
added test cases
added test case
added/improved documentation