Refactoring: FXML replaced by program