Make distance function a setting. Implement super-simple distance.
"Include" for json.
A little more debug output.
Provide some good default inputs.