added lockmanager, lock classes