add classifyhandler and add img2vector (img file is a txt file)