Refactored Module::setBasePath to remove instanceof condition
Better Module::init refactoring