Added some javadoc to the messenger project.