Pseudo-Riemannian Manifolds and General Relativity, I