yet more cleanups and add a minimal usage document