a REST controller built on Code Igniter's MVC framework