Competing Interactions: Charge Density Waves and Impurities