added the spline class file