Added functions comments to view/MainView.php [style and design]