In terms of social division, Gatsby and Wilson are from the same class, the working-class. However, if it is on the terms of personality and identity, Gatsby can be considered to be more in the same class as Tom. Gatsby and Tom are men who are driven and would do anything to get what they want. Meyer Wolfsheim's was a character in the novel whose sole purpose was to shed light on Gatsby's dubious past and Nick's biased nature.
the primary purpose of that is to show everything have both a good side and a bad side also to show that not everything is what you think. It also explains some of the good old days stuff like in the book it first describe as feeling nice and warmish then starting to hurt