started to implement commandDispatcher and defaultCommandHandler