Add spline class and draw splines from there.