use class Thread to net
add msg queue library