flattened out the class hierarchy of all spline classes