added basic xml import functionality