added fxml some refactoring