Connect functionality for MasterModuleService and DirectConnectionService