Fixed bugs when running from Weka CLI

Renamed parameter flags whos names coincided with Weka CLI flags.
Also added a main() method for running the classifier from Weka CLI.