added message class and ColoredChar class.