moving the intensity_histogram method into an Intensity module and including in page