added Metadata trait, updated countries table to include metadata