remove cachePath in favour of localPath (which also sets LocalPath if
not present)
start adding a proper es "client"