Added some doxygen style comments
Added functions for writing config file.  If I recall correctly though, saving the file will strip comments.