- Moved the SDM model and fitting to libShapeModels

- added a save() method