add comments to Main class