A Scala implementation of the event store, backed by a MongoDB database