added message event method

This closes issue #54 for a first pass at the message event