Refactored ManifestDigest
Improved exception handling

Closes #80