massive retooling and simplification of b.uf.api objects