Added Pickle encoder
Added support for RPA2.0 and RPA packing