Add Wallet class

Required by wally (and very soon, txtool).