THEORY OF ARCHITECTURE: MODELS AND GRAMMARS