add module file and possibility for soft-margin SVM