A model of affine gravity in two dimensions and plurality of topology