General workflow structure.