Model client and worker