Fix dispatcher
Fix CS and add use statement
update composer.json
Merge pull request #1 from nean/dispatcher-fix

Dispatcher fix