Refactor sqlite3 row fetching.
Add items data.