add class curve_package