added reader
fixed memory/cursor leak in reader
Merge pull request #120 from Sage/reader

added reader