Move source code to better location, before creating modules...
(code not working)
Complete reorganization of the code, using javascript modules... Warning not fully working!!!
Preference will use prefwindow : Warning far away of finished