Modified backend to work with new messages stored via hl7 listener