Added in Comments for most classes bar those related to the GUI. Removed
unused code and methods.