initial commit for sendMessage API, which currently only broadcast the message