Added naiveBayesClassifier for server.