setup country constructor and prototype