Added comments to the Main class