added Inventory class