added country database lookup

added lookup in country database, so no it is possible to deploy software with 300KB database, not 30 MB.