* refactoring of Bayes model with STAN helpers