Small restructuring
Added preloader stub
Restructured some files
Restructured some files
Updated generated JS