First version that is able to send and receive messages