Added a few comments to Main