Added comments to the new classes and methods

The comments explain what various methods and classes do