Added KeyExchType class. Also started KeyExchange class.