added options for saving and extracting models for future use - not implemented yet