Added comments to the classes and methods.