Update AUTHORS
Update CONTRIBUTORS
Turn the global mutex into instance variables

To fix #52
Merge pull request #59 from zjx20/instance_mutex

Turn the global mutex into instance variables