Created a separate Inventory object, added production logic