Add Abstract inventory class.
Extend Inventory with Abstract Inventory.