Extract PlayerIterator to a separate file PlayerManager.