Introduce thread-safe PeerMap
Create peermap.go, add documentation
JSON Encoding for PeerMaps