client management and task distributing