added scoped Read/WriteLock utility classes