Learning State Machine in a MVC simple way.