refactor to create sub projects in gradle, separate out java fx examples