lots of classes converted to ScalaFX