move di configs,working on merger
stabilize sorting func