Implementing IOJavaComm, wrapping up basic master implementation. Cleaning code.