more experimental thread code
now this could be a niceish interface
preparing to do full package checks
more work on integrity checks - will need to also read the provides/replaces lists form the PKGINFO to continue this