initial checkin of client lib.