Adds BMSetInventory API to resolve #38