I've been looking at some code igniter CMS projects such as Fuel, Pyro, Halogy, and a few others. I'm trying to develop my own sort of CMS project and want to know how to perform the following task. I was trying to base this off of Fuel but for the actual front end site template I want to store it inside the database which would store all the list of site templates with a field for a status id which if 1 is the current active template. What I want to know is how would I perform this task. Fuel uses remap functions.