DB design finished:
 *fixed a lot of bugs in the LDM/CDM;
 *implemented PL/Python script for ranged list creation.
Some design stuff&small fixes.