Simple bezier curve class