move private key methods from wallet to accounts