added doxygen comments. updated comments in publisher.