move worker into server