Add actual splitting functionality to the classifier.
Clean up the classifier class.

Removed unnecessary comments etc., now to actually write the
implementation :)