Started implementing key factory.
Fuck Java.