Text Message class implemented