Implemented better UoW for RavenDB