add Curve class and Plot class now draw from Curve object (multi-curve management)