[DB] small editing in db class...
[CORE] started implementation of previous section management
[UI] actions.js adapted to make use of db indexes