Small db refactorings, reset your sqlite db
Comments on db structure
Add ids to entries