added command invoker
method invoke as a generator
commandInvoker more async tests
small refactoring
Merge pull request #21 from zdalniacy/commandInvoker

Command invoker