On the homology theory of the closed geodesic problem