Emergence of the quantum from the classical