updated index.php, .htaccess, and autoload rule