Plr protobuf

based

hope to merge something like that into PLR after Updating PLR API for machine interfaces discussion