class method work

trying to solve the class method issue.  works for my limited needs (i think). making some assumptions about IMP pointers.