Refactored LightCurve class.