parametrized the url to the peers in the Peer2PeerConnector
parametrized the url to the peers in the Client2PeerConnector
injecting some dependencies instead of direct instanciation