A community learns how to manage on its own. Gangs also exist to keep a neighborhood safe from outside threats, after all. That has always been a part of their history. There are codes to be followed and punishments for not following them. The hood becomes its own city, governed by no one, governed by everyone.