Added constructor for Item class