An in-memory data store in scala