chain module
put module loaded notice elsewhere
use logger.log and not console.log
for future
remove the back compatibility
delay the connecting