This is very ugly in my mind and we might need more of this stuff loaded during start-up. I suggest something like the report_handler.py for utilities (without the whole layer thing as this is not involved in the monitoring stack)