[checkmk-commits] Decouple main/ history modules a bit more. Make future class structure obvious.