moves text message logic into a serivce