Updated samples and added client sample