Extracted the text messaging methods to a Model object with a basic messaging interface.