added nammed queries, and some other sugar
Merge branch 'master' of https://github.com/hsyed/retrieve