Unwholesome trades, slaughter-houses, operations offensive to the senses, the deposit of powder, the application of steam power to propel cars, the building with combustible materials, and the burial of the dead, may all, be interdicted by law, in the midst of dense masses of population, on the general and rational principle, that every person ought so to use his property as not to injure his neighbors.