Only need one function for setting next/walk function
Implement walkable result list in SQLite backend and use memory management heaps for all allocations.