[fx] new initialization for background and worker