Move GIS code to separate sources.