@Override
    public void start(Stage primaryStage) throws JAXBException {
        primaryStage.setTitle("Game Engine Test");
        primaryStage.setScene(new Scene(root));
        /*
         * lijst vn componenten
         * 
         * falsspelen met root ...
         */
        model = new Model(root);
        
        primaryStage.getScene().setOnKeyPressed(new EventHandler<KeyEvent>(){

            @Override
            public void handle(KeyEvent t) {
 
                
                if(dX.get(t.getCode()) != null){
                    double nx = x;
                    double ny = y;
                    nx += dX.get(t.getCode());
                    ny += dY.get(t.getCode());
                    
                    
                    if (!pointCollides(nx, ny)){
                        x = nx;
                        y = ny;
                    }
                
                    updateGraphics();
                    
                }else if(t.getCode() == KeyCode.SPACE){
                    Person p = onCircle(x, y);
                    if(p !=null){
                        System.out.println(p.getName()+" : "+ p.getZin());
                    }else{
                        Item i = onItem(x ,y);
                        if(i != null){
                            System.out.println("je vond " + i.getName());
                            model.verwijder(i);
                        }
                    
                    }
                }
                
                
            }
            
        });
        
        updateGraphics();
        
        primaryStage.setWidth(800);
        primaryStage.setHeight(600);
        primaryStage.show();
    }