RESTful server using CodeIgniter framework