converted to my own MV* and CommonJS style, also begain postMessage integration