add svm_model saving method