introduce dbmgr.js