create workflow class