CodeIgniter application to service