Added a few comments to the main class.