Buildings were constructed without architects or safety codes, leaning against one another and tied together by a labyrinth of dripping pipes and improvised wiring.