Added nested class demos and added javafx to pom

Change-Id: I429cfb77aeaef44451c95ccb90be7c0e367d9688