It sounds like there may be some code violations that contributed to your injury. I suggest you call an attorney who provides free consultations and discuss the case in detail if you were injured as a result of this incident.