Codeigniter rest service library