clean up
fixed white space on some files
rewrote simple lines of code
added some clarifying comments
removed some old unnecessary comments