Started working on tournament logic.