update links
added message module
added test cases for message exchange
update main code