Adding dependencies for JavaFX
Refactoring the repository