Init the javafx component
Starting the implementation of the javafx event manager
Optimising code