[Refacto+Docs] Refacto client sdk + gen docs