add Naive Bayes train & serialization