Basic Thing Theory and Bayesian Mechanics