CelestialObject class added and implemented