Create method labelClass

I created the method we talked about in issue #7, that the simplest possible