Generate a private key
Move private key generation to a separate function
Get network addresses