moved spline class