refactoring and WEB Workers (new feature!)

- quite a refactoring effort (breakings js in libs and PCM specific code
too)
- added Web Workers initial implementation ( I expect some bugs and
might need to refactor the composition/decomposition of arrays for
parrallel execution and back