readme added
serialization code added