Updated library to use the 'dart:indexed_db' so it works in current dart