clean create table and index bug, added listAll ordered and with limit, check incremental key to avoid clean id on insert/update, added several debug logs