Creation And Manipulation Of Quantum States of Light And Cold Atoms Using Rydberg States