baseConfig service
add switch.js and messenger.js