first working version of the java fx gui