moves doc comments to header files; changes some comments
changes file names; standardizes function & include guard names