Added comments to class Main
Updates