Hardcoded paths and values are now arguments. Support for SVM added.