Fix bug where GenericLightCurve was being returned.

Where source was specified GLC was being returned rather than the class.

Also start adding doc strings