The x-ray variability and reverberation of Active Galactic Nuclei