add db and better config
ignore local config