The Director of Public Works shall exercise all the powers and perform all the duties necessary for the administration of the department of public works. The department of public works shall be concerned with (a) maintenance of the streets, highways, buildings, lands, including parks and recreation areas, and all other physical assets of the town; (b) refuse collection and disposal; (c) preparation of data for the expansion, construction or repairing of public buildings and other physical assets of the town, including construction, laying out, expansion or repairing of highways, sidewalks, curbs, storm sewers, sanitary sewers, sewerage treatment facilities, seawalls and devices to prevent shore erosion; (d) administration, compilation, maintenance, review and enforcement of the building code, plumbing code, electrical code, gas and oil burner code, and ordinances of the town and statutes of the State relating thereto to provide minimum standards to safeguard life, limb and property, and to promote the public welfare by regulating and controlling the design, construction and quality of materials of all buildings and structures within the town, and to provide minimum standards for the maintenance, location and use of all buildings and structures within the town; (e) the issuance of permits or licenses for the construction, repair, alteration or remodeling of all buildings, public and private; (f) inspection of all buildings, public and private, for the purpose of ascertaining the existence of fire hazards and hazards caused by rot, deterioration, dilapidation or catastrophe; (g) such other and further matters as prescribed by statutes of the State of Connecticut and local ordinances or as may be referred to it from time to time by the Mayor.