applied some changes in the constructor
Constructor and getCountries method complete