svm class and bag-of-words class added