Create moduleFactory.php