Added Bayes and improved Pmf classes, objects, traits etc.