Added addToInventory methods, to easily add an item to the inventory.