Created class for simple chat room