add key exchange command
basic framework complete