first version of save and load for all model classes