Started refactoring for Decoupled UCT