Setup event sourcing model