Added Inventory interfaces and types, updated long array() to []