Moved helper factories to Module.php
Moved service factories away from configuration to Module.php