create img2character class