trying to push them all aside were the cabs , buses , and wagons , all pulled by horses , making their slow passage along streets that were far too narrow to contain them , and were constantly under repair as new water and gas lines came to the city , and ancient wooden-sided pipes under the streets collapsed and had to be replaced .