Added serialization.
More comments.
Version update
Merge pull request #7 from Sharparam/patch-1

Added serialization