The purpose of this chapter is to encourage the most appropriate use of land throughout the municipality; to conserve and stabilize the value of property; to prevent the overcrowding of land and buildings; to avoid undue concentration of population; to lessen congestion in the streets; to secure safety from fire, panic and other dangers; to facilitate adequate provisions for community utilities and facilities such as transportation, water, sewerage, schools, parks and other public requirements; to provide adequate open spaces for light and air; to promote health, safety, morals and general welfare; and to accomplish such other projects and purposes of zoning as are now and may be hereinafter set forth in the enabling legislation. For this purpose, this chapter designates, regulates and restricts the location and use of buildings, structures and of stories and size of buildings and other structures hereafter erected or altered; regulates and determines the size of yards and other open spaces; and regulates and limits the density of population. In order to effect its purpose, the chapter divides the Borough into zoning districts of such number, shape and area as may be deemed best to carry out the chapter.