AJ Major refactoring of haloutils (for finding halos)