General classifier module for Bayesian and other classificaions
