Codeigniter base code for all type of requirements