refactor, add initialize-db function, add usedp column to token