Text this: Classification of F algebras and noncommutative integration of the Klein-Gordon equation in Riemannian spaces