adding a new modules and refactoring the bayesian logic
merging with master and solving conflicts
Merge pull request #27 from hernsys/wires-29

adding a new modules and refactoring the bayesian logic