refactored some common read/write functions
completed initial port of naive bayes training
refactored mp.Pool uses to use MapPool
commit of the standalone scanner
eliminated the need to load nb_features when training