Formation of local self-government of a single-industry city