move master_private_keys and master_public_keys to NewWallet