added ConnectionThread.jav