added guava dependency. close #14
refactored svm. close #15