Split runner.js into separate components.
Fix some issues with indexed field of insert workloads.