Adding basic implementation for immutable bayesian suite. Adding tests for the locomotive problem.