Wallet

Wallet branch mostly complete, will add some testing changes to it later.
Extra empty line detected at body end.