Made some functions of bezierCurve to properties.
Added json files generation.
Simplified redo scripts.