JavaDoc, file deletion & minor method changes

•Changed a for loop to foreach
•Extended JavaDoc documentation on undocumented methods & constructors
•Removed unnecessary library.dat~ file