fixed default index.php file and added DEBUG=true define
removed line at end of core.php file
added comment header to core.php