Adding persistence
Merge pull request #5 from nraychaudhuri/wip-sharding

Adding persistence