provide a config interface for DB