Rename classes/kohana/controller/rest.php to classes/Kohana/Controller/REST.php