dbm extend db class