Added generate action to CLI. Added --root option to verify action. Fixed bug where you couldn't re-use the same complete tree in memory after extracting a partial tree.