Define cs and p2p architectures