[WIP] Added manifest hash check

Added a hash comparison between existing files and the hash that exists in the manifest.
Whatever's easiest for you. We might end up squashing the change anyway :)