implmented some unit teste, and webservice clint