This chapter is enacted for the purpose of promoting the health, safety, morals and general welfare of the community by lessening congestion in the streets; by securing safety from fire, panic and other dangers; by providing adequate light and air; by preventing the overcrowding of land; by avoiding undue concentration of population; by facilitating the adequate provision of transportation, water, schools and other public requirements; and by regulating the location and use of buildings, structures and land for trade, industry, residence and other purposes, in accordance with a comprehensive plan.