Remove all of the anyhow errors, and use custom error types that are more descriptive. Perhaps use the 'thiserror' crate.