Simple SVM framework.