Update Module.php

the config was overall, not module specific
Update Module.php
Update Module.php

refactored
Merge branch 'Perfect-Web-patch-1'
Fixed failing test after PR