Created message class