Create populateController.php