Title: Towards a theory of architecture