modified some files for debug print, class version number, and more