Add cmake and protobuf