Added country flags and supporting code

Resolves #9