add auto config loader for yml