add raw svm source file from libsvm
remove unrelated functions in libsvm