Towards a unified theory of reactions of carbon with oxygen-containing molecules