Fix: sync command + cleaning some code
Prevent parsing error crash of RAW documents
Refactoring: isolate services via instanciation
Changing server instanciation, now emitting events on init