Worker initialization