initial pass at messageParser written