auto create code for codeigniter