Changing the interface for the library to take two methods called setPrivateKey and setPublicKey to set the keys.