Added Inventory and key functionality