Added packet classes and pipeline encoders and decoders for networking.