renamed index.php to core.php