Following the Command design pattern, added command classes to communicate with the Peer (either fron another Peer or Server). The idea is to have a Command class instance containing all necesary data serialized and sent to the Peer for execution.