Adds send message functionality, fixes #7

1.9 style hashes please.