Introduced BitArrays for pieces and blocks.
Moved communication with peer into Peer class.