Simple in-memory database, with range query, snapshot and (nested) transactions