serialization support, extended protobuf definition and did some more work on the queueing