The Quantum Theory of the Atom