Refactor geography module and postal code validator