mainController + connection between javaFX and spring