Harnessing the atom-like properties of single spins in diamond