Implemented the high-level scanning algorithm.
Implemented a Root query method on the watcher.