A simple chat framework