Restore BDB index wrapper, add sync node concept