Create Curve.java