Created PeerState, modified TCP
Added PartFile.js to handle the writing