refactored Peer to use socket.read rather than messageParser
added a test file and revised piece creation
further simplified pieceField instantiation