Setup a sqlite reader.