simplify config loader