initial framework for hash uploader, minor fixes for scanner