Multilayer formulation of the multiconfiguration time-dependent Hartree theory | Synapse