Adding the followin libraries (for simpler coding later) MY_Model - you could read about it here:
http://www.codebyjeff.com/blog/2012/01/using-jamie-rumbelows-my_model
https://github.com/jamierumbelow/codeigniter-base-model

And MY_Controller here:
https://github.com/EllisLab/CodeIgniter/wiki/MY-Controller