(1) Lay down pipes through the streets, lanes, and alleys of the town, city, or village in such manner as to produce the least possible inconvenience to the town, city, or village, or to its inhabitants, or to travelers; and
(2) Take up pavements and sidewalks;