moved public and private keys to config