move the common folder and add send thread,recv thread,reconnect thread to connector