Integrable Classical and Quantum Gravity