* move the logic parsing of data in a separate class MessageParser