[frontend] modules: create a init module inside all modules to load all part more easily.
[frontend] refactored all JS modules and add a global module loader.

* Fixed all layout (define())
* modules/init now loads all modules.
Better licensing.
Merge branch 'modularization'

* modularization:
  Better licensing.
  [frontend] refactored all JS modules and add a global module loader.
  [frontend] modules: create a init module inside all modules to load all part more easily.