[architecture] Explain the different tiers of 2 tier & 3 tier architecture?