A Dynamic Spatial Model of Rural-Urban Transformation with Public Goods