Change from sqlite3 memory database to persistent(file-based) database