add javafx client and server