Finished version2 of networked simulator