Clean "fork" of Chris Kacerguis´s https://github.com/chriskacerguis/codeigniter-restserver