refactored binary service client