metrics now located in agent_metrics.go
toml config now parsed in agent_config.go
parse the json of req.body better.
parse peer flag
simplify setup.