Main architecture