Topological Approach to Quantum Gravity and String Theory