restructured LYRA utilities to be outside of the lyra lightcurve class.