Initial stesure of the protocol parser