API + validation changes

Changes to script to add API to config and spatial validation of streets
by reference to MBR buffer.