I have created a few utility functions like one h() that acts as echo htmlentities($var) . I want theses functions to be available everywhere . so
You should include your global variables file in your /application/config/constants.php file. Then move your global function file to /application/helpers folder. Then you should autoload the global functions file. /application/config/autoload.php
$autoload['helpers'] = array('your-global-function-file.php');
I would suggest not moving anything inside of the system folder project, as upgrading would be an absolute nightmare. Sometimes refactoring your code to conform to CI logic, maybe faster in the long run rather than trying to copy/paste stuff all over the place.