Contextual architecture