Creation of classes Curve, Figure and Parameters2

Class Parameters2 will be called class Parameters in the future