Started implementing the in-memory db