Saving the model is now done
Save, save-as and load of models is now working except for loading indicators
Refactoring of code to allow saving and loading of model files