centralized and decentralized system diagram