This update contains significant code tidying.
-Also contains documentation
-Commented areas of code for better explanation of how they work.
-Removed unused variables and methods
-Brackets and If/Else, Loop statements are now indented correctly.

Everything should be much easier to understand and more legible.