Cross ref importer code - work in progress