create inventory index. closes #2

create inventory index. closes #2