Add support for Vault

This commit adds support for vaulted inventories.
It should resolve #33.