Added index.php
Added method comments