Adding serialization capability
Merge pull request #4 from oss/master

Adding serialization capability