import territories and link with countries