A Background-Independent Algebra in Quantum Gravity