Work on serialization (added kryo example)