Added tasks and commands
Domain events can be raised in different threads
Now using commands and tasks in controllers