add Gruntfile.js, package.json
add mode, theme to postMessage