Regulating and restricting the height, number of stories, size of buildings and other structures and construction, alteration, extension, repair, maintenance and all facilities and services in and about such buildings and structures, and 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, residence or other purposes;