Add separate thread for sending data & new SendData class.