add Noise and KeyPair class