now functional with multiple kinds of queries
simple script for loading queries into shelve db