moved classify function into classifier for naive bayes

cross validation protocols next