Added handler for INVENTORY_STATE. Extercted interface for state
handlers