Added a class for clusters, detection unit, rule maker, and support to get switch info for multiple switches

Functional but not pretty.