Added the key generator, used to generate the initial pri/pub keys