Inventory system

implemented first draft of the inventory system