Created Curve class