Example implememntation of a command line wallet based on bitcoinj