1.  Addressed bug in unit tests that was causing publishing tests to fail.  2.  Moved publication functions from package init file to publishing.py file.  3.  Factored out separate factory, defaults, options an publishing modules.