moving message parsing to own set of parsing classes