Removed large comment blocks, organized imports, renamed methods and variables to adhere to java naming conventions.