* add asserts all throughout the code to catch bugs.
* new configuration class which handles the X db, with better functionality.
* add asserts all throughout the code to catch bugs.
* new configuration class which handles the X db, with better functionality.