wallet management, loosely based on bitcoinj's walletAppKit