Fixed comments and added core initialization to index.php