added basic codeigniter code