Manipulating quantum entanglement with atoms and photons in a cavity | Synapse