Create StateMachine and major refactoring.
When the Spotify playlist form is added, resize the
track URI well.