Create enrollmentFactory.php