Moved bezier to own file