move restFlowMap to configuration