Update index.php

added few comments, udpated indentation