Added a ModuleBase class. Added a new generic ModuleWriterSettings class (which replaces ArchiveWriterSettings). Cleaned up some old stuff.