Create core.php

Adding the script