Skeleton snapshot state machine.
Initial implementation of snapshot state machine (crashes with multiple workers; need debugging and pool)