separating Naive Bayes business in a separately class (finished trainning part)