Workflow Engine for REST