A General Framework for Architecture Composability