Add ant script, fix gridpane count of adding elements