Parameterized the SnapshotManger with the dir where to save the snapshots.