added message handlers
I have no idea why he did so complicated with the environment.js plugin
Merge branch 'master' of github.com:killswitch/dunn