add queue and peer.h
add peer.h and queue