[dev] Refactored CursorAdapter and perf improvements