move MonitorConfiguration to config package