Inventory

Added inventory class.