add captcha decode code.
change tools to class decode_captcha.
and some small modify.