Complete overhaul code-wise, mostly changing everything into module-based format
Added minified code, and split index.html into debug.html, debug using all files raw, index.html using minified