Fixing issue in configuration persistence: now we store correctly the model.
Merge pull request #14 from ehsavoie/config_persistence

Fixing issue in configuration persistence: now we store correctly the model