Added inbound message searching and model classes