Add support for chat
fixes #31