Create resource-controller.php