Expanded the query API, added a "flood" command for testing, implemented
pattern matching