mppt - refactored curve fns into curve module
curveset - load from file