Added classmethod and property decorator in LightCurve class.