Branching Bayesian slds, should find a better way of handling this.

lots of copy and pasting, this can probably be moved to configuration or a database table