Today i wrote new asset manager for my cms by taking ideas from contributions on codeigniter. This is very useful for my cms. I am going to modify more in the future as i have time. But for now i would like to show how it works.
STEP 1:
I have a config file called MY_config. And, i autoload this config on config/autoload.php
<?php $autoload['config'] = array('MY_config'); ?>
Also, i autoload my new library in this file, along with other libraries as: