The Classification of Spaces Defining Gravitational Fields