adding PeerMapListener and PeerAddressListener