[CHANGE] some darwin support; [ADD] hostgroups preparation;