Morphogenesis of complex biological systems