Fixed creation of executors
Added support for async commands