Fix anomaly config: fix #506

Make a new struct for anomaly server.