fixed closure warnings, added the DataManager class, moved the tournament creation code