crm architecture