connect modules

connect modules and add default in the switch. There we can add some warning.
Merge pull request #3 from katismile/patch-3

connect modules