Have removed some imports that Clippy says are not needed anymore.
* fix: possible fix for Intermittent Test Failures in GH Actions * undo some of the chnages to directory.rs * typo * add docs