Util/Config, Shared/DataBase

Fix GetBoolDefault().
Add a DataBase class.

Signed-off-by: Y.Moon <chglove@live.cn>