1.fixing naming in detector, correlator.
2.moving anomly and correlation into new files.