New classes for simulating priors to compute Bayes Factor