Class level mutex

Moves the Mutex lock variable from an instance variable to a class variable