representation of setClass is deprecated since R 3.0.0, replaced by slots; closes #42