refactored resources; fixed Bayesian classifier