Cluster detection and minor bug fixes

This build has the fixes for error messages as well as performance counters.

This build also has the cluster detection mechanism to create new device in the cluster device class. Still to come is the cluster focused modeler for this class.