public static void main(String[] args) throws IOException {
        PrintStream printStream = System.out;
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        UserInput userInput = new UserInput(printStream, bufferedReader);

        Set<Player> players = leaguePlayers();
        Set<Coach> coaches = leagueCoaches();
        LeagueMemberPrinter leagueMemberPrinter = new LeagueMemberPrinter(printStream);
        League league = new League(leagueMemberPrinter, players, coaches);

        List<Command> commands = createCommands(userInput, league);

        Menu menu = new Menu(commands, userInput);
        menu.chooseOption();
        while (!menu.userDone()){
            menu.executeCurrentCommand();
            menu.chooseOption();
        }
    }