Client main part is ready, not tested.