changed doubles to Reals
moved halo processor finding functionality into a Halo namespace