refactor roster, tournament to use db