improve dbh_light and remove debugger
add local debugger for database.lua