Step 1: break everything.

Remove ConfigDB.h/cpp and move those functions in Config.h/cpp
Make that a real Class, with a non-threaded global, reimplement some
stuff.
Simplify implementation with only 3 level of configurations.

Note that this breaks soooo many things and isn’t set in stone.