added packet parser in preparation for formatting our messages