PrivateKey class was removed, certificate choosing was added, refactoring was done