Add helper function to retrieve all messages and update readme.