Sarxos API implementation with JavaFX using FXML