Add Sphinx doc directory; minor changes to message module organization