Theory of the Structure of Charged Liquids and Some Applications