generalized workflows controller for easier deploy