All buildings and structures, and electrical, gas, mechanical and plumbing systems, both existing and new, and all parts thereof, shall be maintained in a safe and sanitary condition. All devices or safeguards which are required by the technical codes at the time of construction, alteration, or repair shall be maintained in good working order. The owner, or his or her designated agent, shall be responsible for the maintenance of buildings and structures, and electrical, gas, mechanical and plumbing systems.