Remove config and the need for a global bdb from bm_util.