Some work on docs
Some minor fixes.
Add a compare function.
Better to specify the full path.