major progress on NTSServer.java - almost done