Thread safe instance variable for setting
Merge pull request #124 from billychan/replace-class-variables

Thread safe instance variable for setting