<commit_before>### Initializing Ankor

Next, open [`TaskListController.java`][1]. This is a JavaFX controller. A controller is attached to an
`.fxml` file by specifying it as an attribute in the root node. You can take a look at it in [`tasks.fxml`][2].

#### Initialize

Inside `initialize` we have to take care of two things:

    :::java
    @Override
    public void initialize(URL url, ResourceBundle resourceBundle) {
        Ref rootRef = App.refFactory().ref("root");
        rootRef.fire(new Action("init"));
    }

The first statement will return a `Ref`, the second one will send an `Action` to the server.

##### References<commit_msg>fetch tutorial readmes<commit_after>### Initializing Ankor

Next, open [`TaskListController.java`][1]. This is a JavaFX controller. A controller is attached to an
`.fxml` file by specifying it as an attribute in the root node. You can take a look at it in [`tasks.fxml`][2].

#### Initialize

Inside `initialize` we have to take care of two things:

    :::java
    @Override
    public void initialize(URL url, ResourceBundle resourceBundle) {
        Ref rootRef = refFactory().ref("root");
        rootRef.fire(new Action("init"));
    }

The first statement will return a `Ref`, the second one will send an `Action` to the server.

<div class="alert alert-info">
    <strong>Note:</strong>
    Make sure you import the static method <code>refFactory</code>.
</div>

##### References
{'fraction_non_alphanumeric': 0.11584089323098395, 'fraction_numerical': 0.0027913468248429866, 'mean_word_length': 3.8610169491525426, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6197660', 'n_tokens_mistral': 405, 'n_tokens_neox': 394, 'n_words': 174}