Generate webpack bundle

Create webpack entry points, use script loader for now.
Moving closer to commonjs

Replaced vars with module.exports and export to window object for now.