separate JavaFX objects from agent api. Conversion in the controler instead of the SketchListener