The provisions of this chapter provide code enforcement personnel with the necessary tools to have dangerous and unsafe buildings repaired or demolished.