Aded snapshot commands.
Fixed snapshot.
Added rollback for snapshots.
Merge branch 'test' into dev