I am trying to implement a bezier curve class, that is interactive to manage. (e.g. dragging points for now). The code works perfectly fine, when creating only one object of