adding protobuf conversion to Board class