better names
use flag package for parsing cmd-line options
add flow.Check() utility function
add support for registered groups in config file
merge config2 into config

run serial test as “go run main.go config.json serial”