[checkmk-commits] [CMK-1791] - refactoring and small fixes