import AATTOrderedMessageBatch
add method for retrieving messages with a search query