Update index.php

Added some inline documentation