Refactored internal communication tools to "write" package and used Java 7 try() blocks for object read/write.