Created a bezier class