Create ResourceController.php