remove edit APSIM code to seperate file, add fn to edit .xml files too
edit example for new fun