Rework on sphere generation, is now class.