add factory for vaultstore