Adding implementation for snapshot application for key value store
Better handling of snapshots