[checkmk-commits] Moved most of the toplevel code into main().