Beginning of a distributed lock manger that provides a reentrant ReadWriteLock