The Born-Oppenheimer method, quantum gravity and matter