Tournament management library