Spline CAD toolbar GUI

CAD toolbar code is ugly.

we should try to create a base class for cadtoolbar classes.