Preparing and testing classifiers. (not yet working)