added save project as xml and save graph as xml files