Why did farming villages develop?