Save and load the model - Edindx