Flake state manager (local only) for stateful pellets.
Fixes #24.
This is NOT FAULT TOLERANT.