[TASK] New database configuration scheme. (backwards compatible)

[TASK] Fix reference error and format.