collapse Molecule into Substance, MoleculeFactory into ReactionFactory