Simple event-sourced CQRS implementation in Kotlin