started working on the command dispatcher