Add hard-coded dependency to JavaFX
Refactoring into MVC