added types to Item.ts and ItemList.ts