Removed the xml saving functionality

removed due to some issues