add Registry.cursor_db class type and corresponding implementation in store