Simple in-memory database