Initial state machine stuff

Change-Id: I56ecbca12daedbff2387807d3152098c06055947
Add note about breaking migration

Change-Id: I65c7ade9166ce42b15286020dd8b41c7d3dea6c4