codeigniter base controller with templating and lots more options.