Extract turn-taking code into a separate file