Created Inventory class.