Updated SqliteItemManager. Tests to come.