Serialization Update

Added Serialization class for converting object into byte array and
opposite