Completed CQRS example. Write model is now saved in an in memory document store.