Replaced module init code with beanWrapper.setPropertyValue

Since we have to extract data from the key (moduleName & moduleChannel), this option allowed us initialize the module with the map that is passed and  values from the key.