Minor edits to payload module
Minor edits to publisher module