changes to enable dynamic loading of AdModule class if available