replaced Input and Output by nio ByteBuffer wrapper Buf
restructured io facility
merged Serialization into Serializer