removed all messages from the none main classes to the message class