Seperating class_singleListener, class_receiveDataThread, class_sendDataThread