creating an inventory manager, and added to the gather method of units for inventory handling