Extract command service

Again, no need for `setConfiguration`. Just inject $config in the commandDispatcher constructor.