The intent of this chapter is to promote the health, safety and general welfare of the community and protect the property values by regulating the height, number of stories and size of buildings and other structures, the percentage of lot that may be occupied, the size of the yard, courts and other open spaces, the density of population and the location and use of buildings, structures and land for trade, industry, agriculture, residence and other purposes, to the extent permissible within the proper exercise of power delegated by the Town Law.