Refactored country list, added functions for mapping country code to continent and country name to country code.