Updated index.php to use modified classes