NaiveBayes sample
fixed declarations
created packages