A general classifier module to allow Bayesian and other types of classifications.