Added Class and Example

Added Class and Example. Currently, the deleteMessage function is not
working. Will be fixed in next commit.