Created an RsaKeyPair class and reduced duplication in the private & public key classes
Clean up in tests