WIP implementing public batch insert API and integrating through stack