Various improvements

+- added inheritance to spy.classProperties
+- improved compare script