made svm classfier into module