Moved Module.php
Changed Exception Type and removed debug statement