Refactored ManifestDigest
Improved error messages

Closes #80