Repository::putRecord: implementation of mutexes and conditions storage has been added, includes structure has been changed