Implemented messages

Implemented messages
Fixed #42