Created SQLiteDBReader and moved logic to use this instead.