Added comments in a lot of the classes