Started to flesh out a query builder, and a queue system.  Both are really placeholders for now.

Inform copied back from Alex's live project so we can repatriate it as part of Stampede.