A simple and restricted rest framework for PHP 5.4+