scala client