added category table to schema and hash for files in import thread