add basic message sending

fixes #3