Implemented new key.
Implemented new key factory.