removed inheritance, switched to composition of BezierBase within the BezierCurve, will allow for multiple curves later