Purpose and science of architecture