Added country flags and supporting code

Resolves #5