Advance State Machine that runs on RESTful.