setup core.php