In order to promote the health, safety, convenience and general welfare of its inhabitants, to lessen the danger of fire and congestion, and to improve the Town under the provisions of Chapter 40A of the General Laws, the use, construction, repairs, alteration and height of buildings and structures and the use of premises in the Town are hereby regulated as hereinafter provided.