[WIP] Added manifest hash check

Added a hash comparison between existing files and the hash that exists in the manifest.
This doesn't really belong here. I would extract it to a separate class. That would simplify testing THIS class and also testing this logic in particular.