adding file headers and descriptions as well as a general cleanup