new loadCurves/getCurve API