SMS dit: A theory of architecture