Gravitation: global formulation and quantum effects