Added method for phrases using dictionary

Moved code for sending messaging using phrases from the dictionary to its own method.