reformat code of wallet.proto
added mnemonic saving to the wallet and some fixes