add ThreadCommunication.java