Basic class to process chat messages