Work on a new archive encapsulating interface that caches phash results.
Some cleanup, deleted old files that were unused.