add peer
add logging
simple communication between client and server