The following law grants authority to Town Boards in New York State to regulate and restrict the height, number of stories and size of buildings and other structures, the percentage of lot that may be occupied, the size of yards, courts, and other open spaces, the density of population, and the location and use of buildings, structures and land for trade, industry, residence or other purposes; provided that such regulations shall apply to and affect only such part of a town as is outside the limits of any incorporated village or city; provided further, that all charges and expenses incurred under this article for zoning and planning shall be a charge upon the taxable property of that part of the town outside of any incorporated village or city.