Add script for generating a map of countries
Refactor of mapping script and add docs