added AnchorPanes into fxml and code as root panes.