Created new file 'core/MY_Model.php' and it will serve as the base model. Added protected variables that needs values once the base model is called. Also added empty functions 'get()', 'get_by()', 'save()', 'delete()' that will served as the generic CRUD.
Created new files 'models/page_m.php' that will serve as the model of the 'pages' table and 'controllers/admin/page.php' that will serve as the controller of the 'page_m.php' model.
Modified 'get()' and 'get_by()' function of MY_Model.php. Modified 'models/page_m.php', it extends MY_Model and override the protected variables from the base model. Modified 'controllers/admin/page.php', it extends Frontend_Controller and a funtion 'index' was created to test if accessing the data from the db is successfull.
Remove some trash text at 'Frontend_Controller.php'. Modified 'save()' function of MY_Model.php. Modified controller 'page.php' and added a function 'save()' to test if the function in the MY_Model.php is error free in adding and updating pages.
Modified the function 'delete()' of the MY_Model.php. Modified the controller 'page.php' and added the function 'delete()' to test if the base model is deleting page item/s.