fix bugs, adds country table, adds priorities table for claims