try step2 of DH
fix macros
sentmessage macro
implement respondmessage
code cleaning