Added locking to aggregate repository
Updated documentation
Added unit tests for snapshotter
Updated readme